package team.yidong.fenda.wx.Service.Impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import team.yidong.fenda.entity.Hospital;
import team.yidong.fenda.repository.HospitalRepository;
import team.yidong.fenda.wx.Service.WxHospitalService;

/**
 * Created by xuanlong on 2017/10/10.
 */
@Service
public class WxHospitalServiceImpl implements WxHospitalService{
    @Autowired
    HospitalRepository hospitalRepository;
    @Override
    public Hospital findWxHospital(Integer id) {
        return hospitalRepository.findOne(id);
    }
}
